package com.heima.model.user.pojos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("ap_user_realname")
public class ApUserAuth {
    private static final long serialVersionUID = 1L;
    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 用户id
     */
    @TableField(value = "user_id")
    private Integer userId;
    /**
     * 用户名字
     */
    @TableField(value = "name")
    private String name;
    /**
     * 用户身份证号
     */
    @TableField(value = "idno")
    private String idno;
    /**
     * 正面照片
     */
    @TableField(value = "font_image")
    private String fontImage;
    /**
     * 背面照片
     */
    @TableField(value = "back_image")
    private String backImage;
    /**
     * 手持照片
     */
    @TableField(value = "hold_image")
    private String holdImage;
    /**
     * 活体照片
     */
    @TableField(value = "live_image")
    private String liveImage;
    /**
     * 状态
     * 0 创建中
     * 1 待审核
     * 2 审核失败
     * 9 审核通过
     */
    @TableField(value = "status")
    private Short status;
    /**
     * 拒绝原因
     */
    @TableField(value = "reason")
    private String reason;
    /**
     * 创建时间
     */
    @TableField(value = "created_time")
    private Date createdTime;
    /**
     * 提交时间
     */
    @TableField(value = "submited_time")
    private Date submitedTime;
    /**
     * 更新时间
     */
    @TableField(value = "updated_time")
    private Date updatedTime;
}
